package com.hsy.managemoney.modules.main.actionbar;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

import com.hsy.managemoney.R;

/**
 * Created by Administrator on 2016/10/11.
 */
public class ActionBarRecommend extends RelativeLayout {
    public ActionBarRecommend(Context context) {
        super(context);
        init(context);
    }

    public ActionBarRecommend(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(context);
    }

    public ActionBarRecommend(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init(context);
    }

    private void init(Context context) {
//        View view = inflate(context, R.layout.action_bar_recommend, null);
//        addView(view, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
        setVisibility(GONE);
    }
}
